diff options
author | L Peter Deutsch <lpd@ghostscript.com> | 2000-04-03 14:36:12 +0000 |
---|---|---|
committer | L Peter Deutsch <lpd@ghostscript.com> | 2000-04-03 14:36:12 +0000 |
commit | a18d0bc01f3cf10250b64ffb9140a3f923d897f9 (patch) | |
tree | 131ed286471b1d1c2cc9906ef7e555915b7ee780 | |
parent | fbb5fa070c825f98e8ccb78822790ade0e7fdde8 (diff) | |
download | ghostpdl-a18d0bc01f3cf10250b64ffb9140a3f923d897f9.tar.gz |
Fix: When printing on monochrome LaserJet/DeskJet printers, the driver
didn't set the number of copies to 1; on the LJ 4si, this sometimes caused
double printing.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@239 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r-- | gs/src/gdevdjet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gs/src/gdevdjet.c b/gs/src/gdevdjet.c index b824df37b..fa55a0124 100644 --- a/gs/src/gdevdjet.c +++ b/gs/src/gdevdjet.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1989, 1995, 1996, 1997, 1998, 1999 Aladdin Enterprises. All rights reserved. +/* Copyright (C) 1989, 2000 Aladdin Enterprises. All rights reserved. This file is part of Aladdin Ghostscript. @@ -479,6 +479,7 @@ hpjet_print_page(gx_device_printer * pdev, FILE * prn_stream, int ptype, /* Initialize printer. */ if (pdev->PageCount == 0) { fputs("\033E", prn_stream); /* reset printer */ + fputs("\033&l1X", prn_stream); /* # of copies = 1 */ /* If the printer supports it, set the paper size */ /* based on the actual requested size. */ if (!(ptype == LJ || ptype == LJplus)) { |