Closed Bug 1672354 Opened 4 years ago Closed 4 years ago

Printing to Star Micronics TSP 100 receipt printer broken since v82 (only headers printed)

Categories

(Core :: Printing: Setup, defect, P1)

Firefox 82
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: kevin.vojicic, Unassigned)

Details

(Keywords: regression, Whiteboard: [print2020_v82][old-ui+])

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36

Steps to reproduce:

Opened page, clicked on print

Actual results:

Only header was visible

Expected results:

Contents of the page should have been visible

Attached image Preview
Attached image which button i press

After some testing I found out it only happens, if I have selected my printer for receipts (STAR TSP 100 cutter)

Thanks for reporting this. Can you open the page about:support, click the "Copy text to clipboard" button, come back to this bug, click the "Attach New File" button above, and paste and submit that troubleshooting information?

Component: Untriaged → Printing: Setup
Keywords: regression
Priority: -- → P1
Product: Firefox → Core
Whiteboard: [print2020_v82][old-ui+]

Thanks you!

If you open the page about:config, type in "print_paper_id", and change the value of all the preferences that match from the value 1 to 0, does that fix things?

Summary: Printing from page dosen't work → Printing to Star Micronics TSP 100 receipt printer broken since v82 (only headers printed)

Sorry , didnt see message yesterday, no it didnt work.

Ah, this looks like it's the very long paper size that's causing this. Can you open about:config and try changing the following prefs to the given values:

print.printer_Star_TSP100_Cutter_(TSP143)_(Copy_1).print_paper_height: 3000
print.printer_Star_TSP100_Cutter_(TSP143)_(Copy_1).print_paper_size_unit: 1
print.printer_Star_TSP100_Cutter_(TSP143)_(Copy_1).print_paper_width: 72

That converts the stored dimensions to millimeters, and I think that should work around the issue for you until we can get a fix out.

It works but after one print it resets to same values as before and stops working

Darn! Depending on whether you want to change print settings often, you could make the changes above and also set print.save_print_settings at the same time to stop the print overwriting the current settings. You'll just need to rememeber to reset that pref after we get out a fix.

Nice, that works, thank you.

It kind of work. (I work as tech support for a store, and they have silent printing and automatically print bills when they finish order).
Main issue now is that
if printer has 72mm + receipt it still wont print
if I put it on 3inch + letter or 80mm + A4 it only prints if I manually go on the right to print, if I leave it automatically it dosen't print the whole thing, only the first part (not sure why, tried changing height and width but it still stops after first part)

I hope this info helps

Attached image Printer paper options

It looks like you expect changes to the paper size in the Windows system print settings to be picked up by Firefox. However, once settings are saved into Firefox prefs, Firefox won't read settings for that printer from the Windows system settings. I think the only way that may work is if you delete all print. preferences, set print.save_print_settings to false and print.always_print_silent to true **, then print. That should stop Firefox saving any prefs at all, and hopefully/possibly forcing it to read the settings from the system every time you print. I'm not sure that will work, but possibly worth testing.

For what it's worth, we're hoping to get a Firefox 82.0.1 with fixes out in the first half of next week, but no promises yet.

Firefox 82.0.1 has been released, and 82.0.2 is on its way out to users now too. Could you check if you have been updated to one of these newer versions and see if that helps with your issue?

Flags: needinfo?(kevin.vojicic)

Tried it today on 82.0.2 (first I put save_print_Settings on true) and it worked. Will try it on other locations we have.
If I find a problem I will let you know, but for now it is fixed :)
Thank you for all the help and quick fix

Flags: needinfo?(kevin.vojicic)

(In reply to kevin.vojicic from comment #16)

Tried it today on 82.0.2 (first I put save_print_Settings on true) and it worked. Will try it on other locations we have.
If I find a problem I will let you know, but for now it is fixed :)
Thank you for all the help and quick fix

Great to hear! I'm going to mark this as resolved, but please feel free to reopen it if you run into issues on your other systems.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: