Printing content page location problem

tong suntong001 at yahoo.com
Fri Sep 8 09:06:13 PDT 2006


Hi,

I reported the following to cups.general for a while, but haven't received any feedback yet.

Now I believe it is a bug of the new CUPS, because I just tried to print from my old system (old CUPS), and everything is fine.

Subject:     Unable to do label printing in new CUPS
Newsgroups:  cups.general
Date:        Thu, 07 Sep 2006 10:58:49 -0400

Hi

Updated from Debian Sarge to Etch, I just noticed that my label printing
does not work any more. My

Debian Sarge CUPS: 1.1.23
Debian Etch CUPS: 1.2.2-1

I used to use the Latex "labels" package to do label printing. But today,
when I try it, the printed content is way off the place.

I finally realized now that in Etch the printed content is located at the
bottom left of the given page size defined in CUPS. Ie,

If I set the page size to letter in CUPS, and print with

  lpr generated_label.ps

the generated_label is printed at the bottom left of the letter page, if
actual letter paper is used. If I use actual label paper, it will be way
off the place. If I set the page size to A4 in CUPS, the printed content
will shift down from the previous place a little bit.

Previously, the printed content is at the top left corner of the page.  So
no matter how big my labels are, and no matter what page size that I set,
it will always print correctly to my label, on my ink-jet printer.

I've confirmed that it is the CUPS' problem, not latex's, because printing
a previously generated, printed OK ps file yield the same result in new
CUPS.

Please help. Thanks a lot.

tong

PS. You can use the following latex file that I used for testing, or I can
attach the previously generated, printed OK ps file:

-------------------------------
% LaTeX2e source file

\documentclass[12pt]{article}

% ############################################################## &cs ### %
Preamble

% ============================================================== &ss === %
......................................................... packages ...

\usepackage[dvips,dvipdfm]{geometry} % page geometry
%\geometry{papersize={16.5cm,20.2cm}, landscape}
\geometry{papersize={20.2cm,16.5cm}, includeall}
\geometry{tmargin=2mm,bmargin=2mm,lmargin=2mm,rmargin=2mm}
\geometry{showframe}

% ############################################################## &cs ###
%body

\begin{document}
\thispagestyle{empty}  % no page number I
\end{document}
-------------------------------






More information about the cups mailing list