Great code Bruce! I've been looking for something like that for a long time.
I think your problem is that UV translates some CHARS as soon as they go through a memory variable. To avoid that try: ASSIGN 1 TO SYSTEM(1017) Then do your stuff Then turn it back off ASSIGN TO SYSTEM(1017) That works in UV-10.2.3 Windows2003. Cheers! Horacio Pellegrino -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 14, 2007 10:33 AM To: u2-users, Subject: [U2] [UD] Spooling a PCL form I created a PCL file from a PDF and moved the file to a directory on our UNIX machine where we run UniData (5.2 on DGUX, I'm pushing to upgrade. :-) ) My program reads this record, prints it then I fill in the blanks. PRINTER ON PRINT REC ;* The PCL form PRINT ESC:'&l5D': ;* lines per inch PRINT ESC:'(s1p9v0s0B':ARIAL: PRINT ESC:'*p3600x1600Y':TABLE<14>"D4/" PRINT ESC:'*p200x1950Y':TABLE<1,1>:ESC:'*p2450X':TABLE<2>:ESC:'*p3600X':TABLE<3> PRINT ESC:'*p200X':TABLE<1,2> PRINT ESC:'*p200X':TABLE<1,3> ... This works great when the print job is directly to the printer. When it is sent to the _HOLD_ file for printing later (via SPOOL) the form prints fine, but the "fill in the blanks" info doesn't print on the top 3/4 of the page. That is, only the very bottom of the page is filled in. Any ideas? Bruce M Neylon Health Care Management Group ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/