From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97024245108293.tru64-unix-managers.marc@archive.invalid> From: "Tom McCarrick" Date: Fri, 29 Sep 2000 15:47:30 +0000 To: tru64-unix-managers Subject: Printer escape codes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97024245108293 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--3387060-192-970242457=:231" --3387060-192-970242457=:231 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII I am having a problem printing the following file. What it is supposed to print is a label for a van salesman, with the number (54577) printed in large,bold lettering with a product list underneath. When viewed in Unix, this file has a lot of escape chatacters( I assume they are printer control codes). The first time I printed it (using ('lpr -Phpl19 54577') , the output was as it should be. Every subsequent time, it printed blank apart from a 'Print date' and 'Time' column at the top of the page. !! Why would it print different second time around? Perhaps someone can tell me how I need to format the print output (using a command line parameter with 'lpr', or by modifying some parameter in the printcap file?) Regards - Tom --3387060-192-970242457=:231 Content-Type: APPLICATION/octet-stream Content-Description: 54577 Content-Disposition: attachment; filename=54577 Content-Transfer-Encoding: 8BIT Print Date: 28/09/00 Time: 11:59:03 Page: 1 (s8hV VAN(s10H (s4hV 050(s10H (s8hV VAN SALESMAN(s10H(s6hV Michael O'Brien - Dub(s10H (s8hV TIN NUMBER(s10H(s3hV 54577(s10H (s8hV ORDER NUMBER(s10H(s4hV 41791(s10H (s8hV ORDER DATE(s10H(s4hV 27/09/00(s10H (s8hV CONTENTS OF CAGE(s10H Product Description Quantity (s3bV 22444 Chips Str Cut 6x2kg 2 23449 Beef Lasagne 12x375g 4 23464 Pizza Four Seas 12 X370g 8 23463 Pizza Napoli 12 x 350g 6 23461 Pizza Margherita 12x330g 6 21722 16's Fish Fingers 12*480g 3 21720 6's Fish Fingers 12*180g 4 22461 Fish Fing+Batt(8)12x240g 2 22988 Fish Grills It/Hr 8x250g 2 23088 30 Chicken Dippers 8*550g 2 23299 Chick Sth Fried (2) x12 2 22458 Chick Nugg Sth Fr 12x275 2 22669 2 Crispy Chicken 12*190g 2 23054 Chick Supreme 12x375g 2 23050 Curry Chick+Rice 12x375g 4 23452 Shepherds Pie 12x375g 2 23087 Pizza Che&Tom4/3 14x386g 2 22091 Pizza Fr Br Ch/T 10x8.8z 6 22457 Chicksticks 12x250g 1 23002 Veg Qtr Pndr(4) 8x454g 2 23522 Veg Crispy Fing (10) x12 2 22231 4 Potato Waffles 10*227g 14 22937 Hungry Joes(4)12x450g 2 22807 275g 15 Crispy Chicken Dippers 12*2 4 (s0B(s10H Print Date: 28/09/00 Time: 11:59:03 Page: 2 (s8hV VAN(s10H (s4hV 050(s10H (s8hV VAN SALESMAN(s10H(s6hV Michael O'Brien - Dub(s10H (s8hV TIN NUMBER(s10H(s3hV 54577(s10H (s8hV ORDER NUMBER(s10H(s4hV 41791(s10H (s8hV ORDER DATE(s10H(s4hV 27/09/00(s10H (s8hV CONTENTS OF CAGE(s10H Product Description Quantity (s3bV 23090 Pizza Che&Tom(3) 14X290G 3 23473 Chips H/Sty Oven 6x1.5kg 4 20357 993g 20's Value Beefburgers 6*993g 2 23091 Pizza Bac&Chs(3) 14x316g 3 23062 Farmhouse Mix 12x450g 2 22742 Petits Pois 16x450g 2 22174 450g Sliced Beans 16*450g 2 22173 300g Peas Garden 16*300g 4 22743 680g 12 Potato Waffles 12*680g 4 22862 750g Shoestring Oven Chips 12*750g 2 22403 750g Crinkle Cut Chips 12*750g 2 TOTAL: 116(s0B(s10H --3387060-192-970242457=:231--