[U2] [UD] Accumulate lots of small jobs into one large one
Hello all, We have recently purchased a shiny new fast laser printer to print our factory paperwork, however the nature of our reports is negating the benefit of the fast printer, it takes 4 seconds for the printer to do the first page, however we send lots of different individual report writer reports, this means that often the printer is just waiting four seconds between the end of printing one small report and starting another. Is there a nice Unidata based way of accumulating all the jobs into one then sending it? Or perhaps a less nice Unix (HP-UX) way of appending all the print jobs to one file and sending that? -- * This message has been scanned for viruses and dangerous content by * Blairs of Scotland MailScanner, and is believed to be clean. * * This email and any files transmitted with it are confidential and * intended solely for the use of the individual or entity to which they * are addressed. * * If you have received this email in error please notify us at Blairs * of Scotland via email at [EMAIL PROTECTED] --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UD] Accumulate lots of small jobs into one large one
Our solution (UD, HP-UX; we had to keep output from numerous subroutines together through a printer pool) was to WRITESEQ to a TMP dir-type file and EXECUTE !lp -dQ:FORMQ: -c -s TMP/:FILEID Don't know if it was the best way, but it works great and actually makes troubleshooting easier. Best, David Beahm Jonathan Leckie wrote: Hello all, We have recently purchased a shiny new fast laser printer to print our factory paperwork, however the nature of our reports is negating the benef it of the fast printer, it takes 4 seconds for the printer to do the first page, however we send lots of different individual report writer reports, this means that often the printer is just waiting four seconds between the end of printing one small report and starting another. Is there a nice Unidata based way of accumulating all the jobs into one then sending it? Or perhaps a less nice Unix (HP-UX) way of appending all the print jobs to on e file and sending that? -- --- This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please contact the sender. --- --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UD] Accumulate lots of small jobs into one large one
I suppose you could change your Universe (not sure about UD) printer driver to to append to a file instead of piping to the unix printer driver. (cat - ; echo -n (x0c)) /tmp/bigfile You get the (x0c) by typing (control V) (control L) this will give you char(12). But the other part would have to be how often do you want to print this bigfile? You could startup a cron job to every x minutes, if the filelenght is 0 then send it to the printer. George -Original Message- From: David Beahm [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 11:48 AM To: [EMAIL PROTECTED] Subject: Re: [U2] [UD] Accumulate lots of small jobs into one large one Our solution (UD, HP-UX; we had to keep output from numerous subroutines together through a printer pool) was to WRITESEQ to a TMP dir-type file and EXECUTE !lp -dQ:FORMQ: -c -s TMP/:FILEID Don't know if it was the best way, but it works great and actually makes troubleshooting easier. Best, David Beahm Jonathan Leckie wrote: Hello all, We have recently purchased a shiny new fast laser printer to print our factory paperwork, however the nature of our reports is negating the benef it of the fast printer, it takes 4 seconds for the printer to do the first page, however we send lots of different individual report writer reports, this means that often the printer is just waiting four seconds between the end of printing one small report and starting another. Is there a nice Unidata based way of accumulating all the jobs into one then sending it? Or perhaps a less nice Unix (HP-UX) way of appending all the print jobs to on e file and sending that? -- --- This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please contact the sender. --- --- 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/