[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Printing area problem, Cups or latex?



Hi

This is a strange problem that I really hope someone here can answer:

Updated from Sarge to Etch, I just noticed that my label printing does not
work any more. 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 page is used. 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 think it is more a CUPS problem, but I'm not sure. 

Please help. Thanks a lot. 

tong

PS. Here is the latex file that I used for testing:

-------------------------------
% 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}
-------------------------------





Reply to: