Actually, you can, if your running universe on unix. You can modify the printer driver script that interfaces universe with unix printers.
Like below: [EMAIL PROTECTED] lpt.drivers]$ cat driver.PR22 (cat /usr/uv/lpt.drivers/switch2 ; cat - | /usr/mbin/lf2crlf ; echo -n "") | lp -d PR32 The example above first sends codes to switch a Printek to a different paper channel then sends the document (after converting lf->cr/lf), then follows with a FF (can't see it. it looks like "" on the example, but it's actually a FF hardcoded). ex. (cat /file_with_prefix_codes ; cat - ; cat /file_with_suffix_codes) | lp -d unixprinter George >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 06, 2004 8:29 AM >To: [EMAIL PROTECTED] >Subject: Re: [U2] Fancy Printer > > >That's roughly the approach I've been taking. The problem is >to interject >these lines into the dozens, maybe hundreds of reports either >in English or >Basic that are scattered throughout the procs in the >application. Too bad >you cannot have an 'initiation string' that hayes modems had >to preceed the >output. > >thanks. > >----- Original Message ----- >From: "Bill H." <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, October 06, 2004 6:28 AM >Subject: RE: [U2] Fancy Printer > > >> Mark: >> >> A typical D3 solution is to: >> >> 1) sp-assign >> 2) sp-open >> 3) print PCL5 escape sequences >> 4) print report >> 5) print PCL5 ending sequences (usually [Esc]+E) >> 6) sp-close >> 7) sp-assign >> >> Hope this helps. >> >> Bill >> >> > -----Original Message----- >> > From: [EMAIL PROTECTED] >> > [mailto:[EMAIL PROTECTED] Behalf Of >Mark Johnson >> > Sent: Tuesday, October 05, 2004 10:57 PM >> > To: [EMAIL PROTECTED] >> > Subject: [U2] Fancy Printer >> > >> > >> > Two printer questions: >> > >> > First, any recommendations on a multiple paper printer. For >> > example, the first >> > page would be tray 1 with a letterhead, Page 2 would be a form >> > using tray 2 >> > and pages 3,4,5 etc would be tray 3 having white paper. >> > >> > Have a working knowledge of HP PCL (5/6) I just don't know which >> > printer could >> > handle this kind of output. If the printer could staple the pages >> > together, it >> > would be that much better. >> > >> > I've seen copy machines with this kind of magic. I'm just >looking for >some >> > direction in choosing a printer. >> > >> > Second, sort of for D3. Are there any repetitive printer strings >> > that could be >> > send to the printer that precedes the actual output for each hold >> > file. I'm >> > dancing with a few clients having medium HP printers and the same >> > report comes >> > out landscape or portrait depending on the previous output >(pick or word >> > documents etc). I would like to either precede the output >with an ESC E >to >> > clear to the defaults or actually force the default continuously. >> > >> > Presently I'm managing each report program by hand but there >> > should be a more >> > global solution. >> > >> > These are Laserjet Series 6's. I don't have this problem on HP >> > 2000 series. >> > >> > Thanks in advance. >> > ------- >> > u2-users mailing list >> > [EMAIL PROTECTED] >> > To unsubscribe please visit http://listserver.u2ug.org/ >> ------- >> u2-users mailing list >> [EMAIL PROTECTED] >> To unsubscribe please visit http://listserver.u2ug.org/ >------- >u2-users mailing list >[EMAIL PROTECTED] >To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
