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
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1184663

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

Status in “cups” package in Ubuntu:
  Confirmed

Bug description:
  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 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
  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
  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.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to