Did you account for the printer margins? There is an unprintable margin (top/bottom/left/right) that you can't use. On most laser & ink jet printers, it's about 1/4 inch.
>Hi All:
>
>With the following code:
>
>
>lcFile = 'INTFBTCH'
>DO (_REPORTOUTPUT) WITH 1, 'loListener'
>loListener.PRINTJOBNAME = "C:\pj\INTF\Batch Packages\" + lcFile
>REPORT FORM intfbtch TO PRINTER PROMPT PREVIEW OBJECT loListener
>
>RELEASE loListener
>loListener = NULL
>
>
>The report looks fine on the screen, but when I print it out, the top and left (and maybe the bottom and right) margins are getting chopped off! What am I doing wrong?
>
>The printer I'm using, BTW, is a HP LaserJet M1530 MFP Series PCL 6, if that makes any difference.
>
>Thanks,
>
>Yossi
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer