[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2015-04-26 Thread Christopher
When I print a PDF from Evince I get a large top margin which cuts of
the top and bottom text, even when reduced to 90%.

Printing from qpdfview lets me adjust the margins in Properties and the
document prints properly. Given this, it seems to be an Evince and other
applications bug with a lack of advanced settings prior to printing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2014-08-15 Thread Anon N
The bug or rather feature is located in the postscript conversion script
'/usr/local/Brother/Printer/HL2270DW/lpd/filterHL2270DW' on line 23.
When the variable PCL is set to '1', device dependent instructions  are
enabled within the script, sent before the actual postscript data, and
thus the printing begins at the new printable area as indicated by the
coordinates as defined in the conditional if block starting on line 108.

Interesting and short read on the differences between PCL and PostScript:
http://www.laserquipt.com/support/idx/0/063/article/PCL-vs-Postscript.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2014-06-07 Thread Claude Krantz
I have been affected by this for years while printing from Linux (Ubuntu
12.04) via a FreeBSD (9.2 for what matters) CUPS server (versions 1.5.x
to 1.7.x at least). I have two printers: HP Laserjet 1320 and HP Deskjet
5550 which are installed via CUPS on the FreeBSD server and shared with
the Linux CUPSes (1.5.3 from precise).

Printing via the Foomatic/HPIJS drivers HP-LaserJet_1320-hpijs.ppd and
HP-DeskJet_5550-hpijs.ppd always gave me unacceptably wrong printout
margins (shifted more than 1 cm right and up). The generic PCL driver
provided by CUPS never had this problem, but of course would not take
advantage of any advanced printer features.

Running the command hinted by Till in post #6

lpadmin -p printer_queue -o pdftops-renderer-default=pdftops

on the FreeBSD server (NOT on the Ubuntu Linux clients!) for every
printer installed there solved the problem completely.  Many thanks for
that. The server now runs CUPS-1.7.2 and shares its printers with the
Linux CUPS-1.5.3 via cups-browsed in total harmony and I always get
correct margins.

Let me emphasise once more that in my case this bug was NOT caused on
the side of Ubuntu 12.04 (CUPS 1.5.3 ) but on the side of the FreeBSD
server (CUPS 1.7.2). However this seems to suggests that the root of the
issue goes upstream ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2014-04-21 Thread Eric Light
I'm similarly affected, running Linux Mint LMDE 14.03, with a Brother
HL-2240D printer.

I'm using the official Brother drivers provided at:
http://support.brother.com/g/b/downloadlist.aspx?c=as_otlang=enprod=hl2240d_allos=128

Using the command posted by till-kamppeter in post #6 resolved the
issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-27 Thread Clayton Wozney
I have been struggling with this problem for days and the HL2270DW.PPD
file provided by Fiorenzo worked like a charm.  Thanx!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-27 Thread Adam Porter
** Changed in: cups (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-25 Thread Till Kamppeter
Fiorenzo, do you have a utility named brprintconf_...? Try bu entering

brprintconf

in a terminal window and instead of Enter press Tab, if needed two or
three times. If it gets completed or alternatives for completing it get
shown, you have such a utility. Then run

brprintconf_your_model -pt A4

in the terminal window. In case of errors try to get info via

brprintconf_your_model -h

or

brprintconf_your_model --help

Or try

sudo brprintconf_your_model -pt A4

Replace your_model by the completion of the command which you got by
pressing Tab in the beginning.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-25 Thread Fiorenzo De Santis
I have only a brprintconf_mfcj6510dw (which already works fine) in
/usr/bin but nothing for hl2270dw, however according to the Brother
website, the HL2270DW is supposed to work with brprintconflsr2 (brother-
lpr-drivers-laser) so I installed it, but

sudo brprintconflsr2 -P HL2270DW -pt A4

returns the following error

Error: -P HL2270DW :invalid option !!

the printer name HL2270DW must be OK because lpstat -p -d returns

printer BRFAX is idle.  enabled since Sat 16 Mar 2013 17:34:18 CET
printer HL2270DW is idle.  enabled since Wed 25 Sep 2013 18:16:57 CEST
printer MFCJ6510DW is idle.  enabled since Fri 30 Aug 2013 14:54:27 CEST

and the usage of this command is

brprintconflsr2 -P [Printer Name] [Option]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-25 Thread Fiorenzo De Santis
although undocumented, I was able to run this command

sudo /usr/local/Brother/Printer/HL2270DW/inf/brprintconflsr3 -P HL2270DW
-pt A4

however it didn't help, of course I restored the default renderer before
trying it

so at the moment only the pdftops renderer helps

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-24 Thread Till Kamppeter
Fiorenzo, first to say is that the problem is not in Poppler, as the
PDF-PS transition needed for Brother's driver is done by Ghostscript.

First, follow the instructions of the sections CUPS error_log and
Capturing print job data on
https://wiki.ubuntu.com/DebuggingPrintingProblems with Raring and/or
Saucy. Please attach the resulting files, one by one, without
compressing them and without packaging them together.

In addition, run the command

lpadmin -p HL2270DW -o pdftops-renderer-default=pdftops

in a terminal window and try to print again. Does this fix the problem
or at least improve the situation?

To return to the standard configuration, run

lpadmin -p HL2270DW -R pdftops-renderer-default


** Changed in: cups (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-24 Thread Fiorenzo De Santis
scanned output, with right margins using Fedora 19

** Attachment added: OK.jpeg
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+attachment/3838549/+files/OK.jpeg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-24 Thread Fiorenzo De Santis
however the command

lpadmin -p HL2270DW -o pdftops-renderer-default=pdftops

fixed the problem

I attached the cups error log as well

** Attachment added: error_log
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+attachment/3838550/+files/error_log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-24 Thread Fiorenzo De Santis
scanned output, with wrong margins

** Attachment added: wrong.jpeg
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+attachment/3838548/+files/wrong.jpeg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-24 Thread Fiorenzo De Santis
captured print job, it seems to be OK

** Attachment added: captured.ps
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+attachment/3838547/+files/captured.ps

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-14 Thread Fiorenzo De Santis
Many people are affected by this bug but nobody subscribes this bug
report, this way it isn't going to be fixed.

Most people prefer generic PCL drivers but with these drivers you can't
take advantage of all the features of your printer, in fact you are
limited to a 600dpi resolution, you can't use the toner saving etc.

I've tried several generic PCL drivers and the best is Foomatic/hpijs-
pcl5e (for HL-2170W), it handles the margins correctly.

However also Foomatic/ljet4 and Foomatic/ljet4d work well with margins.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-09-13 Thread reference2myself
Has anyone found a solution to this?  I just bought this printer
thinking it had good Linux support and I can't get my margins right with
any driver/settings.  the 2170w driver seems to get them the closest for
me but the bottom is still off.  The official driver has just about all
of the margins off.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-06-02 Thread Fiorenzo De Santis
is it related to the following old bug?

https://bugs.launchpad.net/poppler/+bug/293832

is the poppler involved?

can we do some tricks to overcome this issue? for example, there is an
option to set margin offsets for all the print jobs of a printer?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-05-31 Thread Fiorenzo De Santis
** Description changed:

  I have a Brother HL-2270DW laser printer and I'm having issues with
  print margins using the official drivers by Brother after I upgraded to
  Quantal and these issues still persist with Raring.
  
  Other users reported similar problems with different printers mostly
  Brother:
  
  http://ubuntuforums.org/showthread.php?p=12381534
  
http://askubuntu.com/questions/284441/hl-2240-brother-not-printing-at-margins/300186#300186
  
  I have also a Brother MFC-J6510DW inkjet all-in-one printer and it works
  fine.
  
  I've found out that a workaround for the Brother original driver is to
  print your document as .ps file and then print that file.
  
  However using some Generic PCL drivers I can get correct margins in
- particular with Footmatic/ljet4 and Footmatic/ljet4d.
+ particular with Foomatic/ljet4 and Foomatic/ljet4d.
  
  Following directions in Debugging Printing Problems, I've enabled Save
  debugging information for troubleshooting and I've captured a print
  job. However the captured file appears to be OK whereas the printed file
  has wrong margins (left +6 mm; top -4 mm).
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: cups 1.6.2-1ubuntu7
  ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
  Uname: Linux 3.8.0-22-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  Date: Mon May 27 18:19:24 2013
  InstallationDate: Installed on 2013-03-16 (72 days ago)
  InstallationMedia: Ubuntu 13.04 Raring Ringtail - Alpha amd64 (20130315)
  Lpstat:
-  device for BRFAX: lpd://BRW002258EF8326/BINARY_P1
-  device for HL2270DW: lpd://BRW00225892D671/BINARY_P1
-  device for MFCJ6510DW: lpd://BRW002258EF8326/BINARY_P1
-  device for PCL_HL-2X: lpd://BRW00225892D671/BINARY_P1
-  device for PCL_HL-2X__Duplex: lpd://BRW00225892D671/BINARY_P1
+  device for BRFAX: lpd://BRW002258EF8326/BINARY_P1
+  device for HL2270DW: lpd://BRW00225892D671/BINARY_P1
+  device for MFCJ6510DW: lpd://BRW002258EF8326/BINARY_P1
+  device for PCL_HL-2X: lpd://BRW00225892D671/BINARY_P1
+  device for PCL_HL-2X__Duplex: lpd://BRW00225892D671/BINARY_P1
  MachineType: ASUSTeK Computer Inc. U36SD
  MarkForUpload: True
  Papersize: a4
  PpdFiles:
-  HL2270DW: Brother HL2270DW for CUPS
-  PCL_HL-2X__Duplex: Generic PCL 6/PCL XL Printer Foomatic/ljet4d
-  PCL_HL-2X: Generic PCL 6/PCL XL Printer Foomatic/ljet4
-  MFCJ6510DW: Brother MFC-J6510DW CUPS
-  BRFAX: Brother BRMFCFAX for CUPS
+  HL2270DW: Brother HL2270DW for CUPS
+  PCL_HL-2X__Duplex: Generic PCL 6/PCL XL Printer Foomatic/ljet4d
+  PCL_HL-2X: Generic PCL 6/PCL XL Printer Foomatic/ljet4
+  MFCJ6510DW: Brother MFC-J6510DW CUPS
+  BRFAX: Brother BRMFCFAX for CUPS
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-22-generic 
root=UUID=ec9aa77a-fa22-4668-b846-38058c29cf00 ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/12/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: U36SD.205
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: U36SD
  dmi.board.vendor: ASUSTeK Computer Inc.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK Computer Inc.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrU36SD.205:bd07/12/2011:svnASUSTeKComputerInc.:pnU36SD:pvr1.0:rvnASUSTeKComputerInc.:rnU36SD:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
  dmi.product.name: U36SD
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK Computer Inc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1184663] Re: Incorrect margins when printing to a laser printer using CUPS 1.6.x

2013-05-27 Thread Fiorenzo De Santis
Brother HL-2270DW original PPD

** Attachment added: HL2270DW.ppd
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+attachment/3688005/+files/HL2270DW.ppd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184663

Title:
  Incorrect margins when printing to a laser printer using CUPS 1.6.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1184663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs