Re: [U2] How can I Insert a Page Break in a Printer Spooler?
Did you try char(12)? ^L George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of randyleesmith Sent: Friday, July 26, 2013 2:52 PM To: u2-users@listserver.u2ug.org Subject: [U2] How can I Insert a Page Break in a Printer Spooler? I have a proc building several SORT reports and they are all going into a Spooler. (For later and special processing.) I have added a different kind of report (via code), but I need to have a page break before and after it. Is this possible? PCL codes don't work. When dumped to PDF they just get printed and don't effect the output. - I used to be an Optimist until I knocked over the glass. -- View this message in context: http://u2-universe-unidata.1073795.n5.nabble.com/How-can-I-Insert-a-Page-Break-in-a-Printer-Spooler-tp41380.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] How can I Insert a Page Break in a Printer Spooler?
Char 12 is the old school formfeed which has existed long before these young whipper snappers created PCL. In addition, there is the BASIC command PAGE which you could probably execute at the top of your report that runs in code -Original Message- From: randyleesmith randyleesm...@roadrunner.com To: u2-users u2-users@listserver.u2ug.org Sent: Fri, Jul 26, 2013 11:52 am Subject: [U2] How can I Insert a Page Break in a Printer Spooler? I have a proc building several SORT reports and they are all going into a Spooler. (For later and special processing.) I have added a different kind of report (via code), but I need to have a page break before and after it. Is this possible? PCL codes don't work. When dumped to PDF they just get printed and don't effect the output. - I used to be an Optimist until I knocked over the glass. -- View this message in context: http://u2-universe-unidata.1073795.n5.nabble.com/How-can-I-Insert-a-Page-Break-in-a-Printer-Spooler-tp41380.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] How can I Insert a Page Break in a Printer Spooler?
The page might output that ^H^J or some combination like that - like @(-1) does. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Friday, July 26, 2013 3:09 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] How can I Insert a Page Break in a Printer Spooler? Char 12 is the old school formfeed which has existed long before these young whipper snappers created PCL. In addition, there is the BASIC command PAGE which you could probably execute at the top of your report that runs in code -Original Message- From: randyleesmith randyleesm...@roadrunner.com To: u2-users u2-users@listserver.u2ug.org Sent: Fri, Jul 26, 2013 11:52 am Subject: [U2] How can I Insert a Page Break in a Printer Spooler? I have a proc building several SORT reports and they are all going into a Spooler. (For later and special processing.) I have added a different kind of report (via code), but I need to have a page break before and after it. Is this possible? PCL codes don't work. When dumped to PDF they just get printed and don't effect the output. - I used to be an Optimist until I knocked over the glass. -- View this message in context: http://u2-universe-unidata.1073795.n5.nabble.com/How-can-I-Insert-a-Page-Break-in-a-Printer-Spooler-tp41380.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] How can I Insert a Page Break in a Printer Spooler?
I've been coding for years and don’t think I ever used PAGE before. Or it’s more like I've never needed to, or use it for a long time and well, you know how that is. ;) I've just got such an unusual situation I've been fighting for a while and this might just be the last thing I needed. Thanks!! - I used to be an Optimist until I knocked over the glass. -- View this message in context: http://u2-universe-unidata.1073795.n5.nabble.com/How-can-I-Insert-a-Page-Break-in-a-Printer-Spooler-tp41380p41385.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] How can I Insert a Page Break in a Printer Spooler?
If you use the SETPTR command you can use STARTPAGE and EJECT as options to add a form-feed before and after a report. SETPTR ,, STARTPAGE 2, EJECT set it back to your standard when finished with the unusual situation. SETPTR ,, STARTPAGE 0, NEJECT Date: Fri, 26 Jul 2013 12:36:43 -0700 From: randyleesm...@roadrunner.com To: u2-users@listserver.u2ug.org Subject: Re: [U2] How can I Insert a Page Break in a Printer Spooler? I've been coding for years and don’t think I ever used PAGE before. Or it’s more like I've never needed to, or use it for a long time and well, you know how that is. ;) I've just got such an unusual situation I've been fighting for a while and this might just be the last thing I needed. Thanks!! - I used to be an Optimist until I knocked over the glass. -- View this message in context: http://u2-universe-unidata.1073795.n5.nabble.com/How-can-I-Insert-a-Page-Break-in-a-Printer-Spooler-tp41380p41385.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users