On Fri 14 Jul 2017 at 19:09:00 +0200, Ionel Mugurel Ciobîcă wrote:

> On 14-07-2017, at 17h 22'40", Brian wrote about "Re: jesse->stretch for DYMO 
> label printer"
> > On Fri 14 Jul 2017 at 16:26:30 +0200, Ionel Mugurel Ciobîcă wrote:
> > 
> > > After jesse -> stretch upgrade my DYMO label printer is using a
> > > different font. Before I could fit 6 lines on a label, each line with
> > > 18 characters.
> > 
> > Knowing the printer model is always useful.
> 
> Thank you, Brian. It is DYMO LabelWriter 450. lsusb is listing it as
> "Bus 007 Device 006: ID 0922:0020 Dymo-CoStar Corp. LabelWriter 450".
> But this is not relevant for my question:

Everything is relevant. Whether it is involved in your issue is a
different matter. :) However, the LabelWriter 450 has no built-in
fonts; therefore the font which is used and its size is a feature
of what is done on the host computer.

> > > Anyone knows where I can locate the config file for the fonts that
> > > are used by the label printer?
> > 
> > Does a printer dialog in an application show any way of altering
> > fonts?
> 
> What is "a printer dialog"? What application? I have an alias "label"
> that does "lpr -P label -o orientation-requested=5", and I print like
> this:

A printer dialog is what you see when you print from a graphical
application such as firefox.
> 
> # vi label 
> # label label 
> # rm label 

Good clarification.

> > > I reinstalled the printer, reinstall the printer-driver-dymo dpkg. I
> > > am not sure how to fix this.
> > > 
> > > I use cups and the drivers that comes with it in Debian.
> > > 
> > > I use Debian since hamm and potato.
> > 
> > The printng system is not responsible for changing font size (except
> > when the input file is text). Surely, the application producing the
> > labels is where to look?

Please note the exception.
 
> It is not the font size. It is a different font al together. Size is
> comparable. But now the lines are shifted lower, so only 5.5 lines
> will fit with some space above and 16.25 characters will print out
> (from 20 characters, the first 3.25 and the last half characters are
> swallowed). Before it was 18 out of 18 were printed (also 18 out of
> 20, etc.).
> 
> It is a label printer, so it is only text. What else can I do with it?
> Care to elaborate about the application you speak of? What does it do?
> It prints images on the label? Or pdf? I do not understand your answer.
> Sorry, Brian.

I was trying to find out how you were printing. It appears you are
sending a text file to the printer with lp(r). Please correct this
if I am misunderstanding. It's important.

> "man lpr" doesn't have any option for fonts.

Indeed it doesn't. But man lp does mention -o cpi and this can also
be used with lpr. I do not think your problem lies with cpi though.
I have an idea; but first, you are sending a text file to the printer?

Look at a page in firefox with the font set first to freefont and then
to dejavu (both mono). Does either resemble your previous and present
font?

-- 
Brian.

Reply via email to