All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
Terry, The &12X command is quite functional, and can be modified to be more intuitive. The string of characters &12X is a PCL command for many printers that use the HP Drivers. In this example, the 2 is the quantity. If they always want three, it would be simple to change the string to: AL BEFORE.PRINT D(27)_"&l3X"^! (By the way, the ^! directs the command to the printer like ^# goes to the screen.) But, you can do more. You could give the end user control of how many copies to print. Create a temporary field called xx.copies. DAT=PINT FNC=LST JFY=R LEN=1 VAL=999 Add this field to your select field like this: xx.copies GT Number of Copies: Then, change the Footnote to: AL BEFORE.PRINT D(27)_"&l"_b.xx.copies_"X"^! Whah-lah!!! The user can determine how many copies they want. Here's another option. Let's say the report is written in OE.ORD as an output format for an OE Procedure. You could have a query on the procedure (or category) screen that asks the user how many copies of the "form" do they want. For this example, my CDS query is "OE.COPY". Add the following footnote to NPR report: AL START D(27)_"&l"[EMAIL PROTECTED]"OE.COPY"]_"X"^! Again, this gives the end user the option of how many copies to print at a time. Brian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angeloni, Terry Sent: Monday, May 01, 2006 3:54 PM To: [email protected] Subject: [MEDITECH-L] Print 3 copies of a NPR report All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ====================================== Hi! I got the following code off of the 'L', it makes the NPR automatically print 2 copies of a report. I am not sure what the code is doing, and now my users want 3 copies! Help! AL BEFORE.PRINT D(27)_"&l2X"^! Thanks, Terry Angeloni Provena Health Information Services Application Specialist II ph 815.730.2858 fax 815.744.7565 _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
