WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Google Cloud Print Margin
- AuthorPosts
- 21 March, 2018 at 11:10 am #36141
Hi Olly,
I know that this point has been on the forum many times.
But I would like to warn that Google Cloud print add automatically Left and Right Margin to the document.
Even if there is no margin set up in the printer, with the API and GCP there is no way to remove this Margins.
The main problem with The GCP that is we dont know were is the setting Margins.
After test I can say that is not based on the Google Chrome Settings, not based on the Printer setting, and not based on Computer Settings.Thats seems we dont have access to this setting by Google Cloud Print.
With a standard A4 Printer the Margins are not very important cause the paper is quiet big enough to read, But on a thermal Printer as many of restaurant use, the problem is very annoying, because it print a small receipt not easy to read in the Kitchen.
To resume, do you know a better idea at this time for this main problem.
Best
Lorent
21 March, 2018 at 12:30 pm #36143>But I would like to warn that Google Cloud print add automatically Left and Right Margin to the document.
No, it most certainly does not and this is simply not true. (i assume you are referring to the plugin here and not gpoogle cloudprint itself)it sends whatever you have chosen as a print template in the plugin settings to cloudprint.
a default plaintext template is 74 characters width, a default html template is 100% width, no margin and no paddingi also recall several posts here on this forum somewhere where people use thermal printers apparently without any of your margin issues, so it seems to me this is either a printer problem (i.e your particular printer always prints margins) or a setup problem (i.e the template you are using has margins/padding added), neither of which is something the plugin can do anything about
PS it may of course also be the case that cloudprint itself (i.e google) adds/forces margins. there’s nothing i can do about that either (not as far as i know, anyway)
21 March, 2018 at 1:03 pm #36144depending on how your printer handles it though, you could try to use the/a html print template and set the with in th ecss from 100% to some absolute value (i.e 2in for example or 70mm or whatever size is appropriate)
might or might not work.just an idea. depends on printer or whether margins are automatically added by something21 March, 2018 at 1:56 pm #36148This reply has been marked as private.21 March, 2018 at 2:02 pm #36150i cannoy see you printing with google cloud print there
i can only see you sending something to the printer
once with margins, once without margins
if the template were to have it’s own margins it would have margins even if your print settings are set to not have margins
therefore your printer is adding margins when cloudprinting (or google cloudprint itself)you should ask your printer manufacturer if that printer can be set to print without margins when getting a document from google cloudprint (i.e in the printer setting itself)
21 March, 2018 at 2:27 pm #36151I confirm that I have the same problem. I use epson print.
21 March, 2018 at 3:40 pm #36156you must speak to your printer manufacturer / read their manual as to how to enable borderless/nomargin by default
22 March, 2018 at 8:43 am #36166Ok, I am thinking a other option without Google Cloud Print.
I set up a rule on my mail box with a script to automatically print new email from my email address.
But is it possible to send by E-mailfrom WP Pizza, the standard template (HTML Print Templates, same than Cloud print) ? and How ?
22 March, 2018 at 12:22 pm #36168just set up an identical email template though your css will have to be entered differently.
as many email clients strip css the entering of the style declarations is different there, but it should not be too difficult to make the outcome look the same
12 July, 2018 at 10:01 pm #38443just to add to this – might help someone somewhere – allow me to also point to this topic
https://www.wp-pizza.com/topic/question-google-cloudprint/( especially the last few printing options/examples/tests posts)
- AuthorPosts
- The topic ‘Google Cloud Print Margin’ is closed to new replies.