OpenPrinting / pappl-retrofit

PPD/Classic CUPS driver retro-fit Printer Application Library
Apache License 2.0
7 stars 10 forks source link

The settings on the [Device Settings] restore to the default after printing a job / submitting a file printing #18

Open szlt5 opened 5 months ago

szlt5 commented 5 months ago

Describe the bug The settings on the [Device Settings] restore to the default after printing a job or submitting a file for printing.

To Reproduce Steps to reproduce the behavior:

  1. Install ps-printer-app by command snap install ps-printer-app
  2. On the web localhost:8000, add a printer.
  3. On the [Device Settings] tab, do some change.
  4. Submit a file for printing by command $ps-printer-app submit testpage.ps
  5. The settings on the [Default Settings] restore to the default ones.

Expected behavior The settings on the [Default Settings] should not change.

System Information:

Additional context The ppdMarkDefaults() is invoked in the _prCreateJobData()