Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
From: carl@gerg.tamu.edu (Carl Perkins)
Subject: Re: PCL Printer control codes
Date: 31 Oct 2001 20:01 CDT	[thread overview]
Message-ID: <31OCT200120015957@gerg.tamu.edu> (raw)
In-Reply-To: qbVD7.142228$sE1.969308324@newssvr10.news.prodigy.com

"John Hayes" <john@worldwide-wines.moc> writes...
}I have a telnet queue going to a canon printer (photocopier,scanner etc
}unit). I have created a library with PCL control codes to print landscape
}and portrait. These are fine but when I print in duplex mode, the first page
}always prints on the back side of the first page. It makes all my reports
}looks like they are skipping a page. Anyone got any ideas.
} 
}Desperate Now
} 
}John
}john@worldwide-wines.moc (spam filter, switch the moc)

My guess:

You send the printer control codes. Somewhere in there is the
code to turn on duplex. Since you have already sent stuff to the
printer, when you switch over it thinks you have already printed
on the front of the page and puts later stuff on the back of
the page. Or something along those lines.

Anyhow, you may need to isolate the commands so that it knows they
don't count for "stuff being printed" purposes. At least some HP
printers like for you to do this, if you don't they print a blank
page. This is done via an <ESC>P at the start and an <ESC>\ at the
end of any PCL being sent (neither of these escape codes is documented
in the PCL 5 Technical Reference Manual - it is possible that they
are specific to HP and Canon may use something else).

--- Carl


  reply	other threads:[~2001-11-01  1:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-31 15:57 PCL Printer control codes John Hayes
2001-11-01  1:01 ` Carl Perkins [this message]
2001-11-01 14:00   ` John Hayes
2001-11-02  3:49 ` David J. Dachtera
2001-11-12 21:16   ` John Hayes
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox