Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge-to-edge printing on EPSON XP-8700 Series #1294

Open
tresf opened this issue Sep 21, 2024 · 1 comment
Open

Edge-to-edge printing on EPSON XP-8700 Series #1294

tresf opened this issue Sep 21, 2024 · 1 comment
Assignees

Comments

@tresf
Copy link
Contributor

tresf commented Sep 21, 2024

As the title suggests, QZ Tray cannot print edge-to-edge on this printer.

When attempting on a customer machine:

  • Margins specified as zero
  • DPI specified as 144
  • Page size defined as 5x7

... however the logs show:

  • Top and left margin of .11 inches
  • Page size as 4.75x6.75
{
  "call": "print",
  "params": {
    "printer": {
      "name": "EPSON XP-8700 Series"
    },
    "options": {
      "colorType": "color",
      "copies": 1,
      "density": 144,
      "duplex": false,
      "fallbackDensity": 600,
      "interpolation": "bicubic",
      "jobName": null,
      "margins": {
        "top": 0,
        "right": 0,
        "bottom": 0,
        "left": 0
      },
      "orientation": "portrait",
      "paperThickness": null,
      "printerTray": null,
      "rasterize": true,
      "rotation": 0,
      "scaleContent": false,
      "size": {
        "width": "5",
        "height": "7"
      },
      "units": "in",
      "altPrinting": false,
      "encoding": null,
      "endOfDoc": null,
      "perSpool": 1
    },
    "data": [
      {
        "type": "pixel",
        "format": "image",
        "flavor": "file",
        "data": "5x7.png"
}
@tresf
Copy link
Contributor Author

tresf commented Sep 24, 2024

Quoting some investigation from the customer:

I think the problem might be that for this printer definition there are two paper sizes that overlap, one is borderless. Here are some bits from the ppd file (attached).

*PageSize EPKG/4 x 6 in: "<</PageSize[288.00 432.00]/ImagingBBox null>>setpagedevice"
*PageSize EPKG.NMgn/4 x 6 in (Borderless): "<</PageSize[288.00 432.00]/ImagingBBox null/cupsBorderlessScalingFactor 1.05>>setpagedevice"

*PageRegion EPKG/4 x 6 in: "<</PageSize[288.00 432.00]/ImagingBBox null>>setpagedevice"
*PageRegion EPKG.NMgn/4 x 6 in (Borderless): "<</PageSize[288.00 432.00]/ImagingBBox null/cupsBorderlessScalingFactor 1.05>>setpagedevice"

*ImageableArea EPKG/4 x 6 in: "8.40 8.40 279.60 423.60"
*ImageableArea EPKG.NMgn/4 x 6 in (Borderless): "0.00 0.00 288.00 432.00"

*PaperDimension EPKG/4 x 6 in: "288.00 432.00"
*PaperDimension EPKG.NMgn/4 x 6 in (Borderless): "288.00 432.00"

I'm not sure where/when qztray maps from size onto one of these, if ever, but maybe whatever does this is hitting the first definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants