Print from chrome, automatically, using OS printer menu settings - macos

I have an extension running on Chrome with kiosk-printing on. I'm on OS X 10.6.8.
I want it to print a page via the extension, without any dialog.
This works fine with just print(), but chrome prints using settings other than my required preset (page size etc')
How can I make chrome use my required preset?
I've tried the following:
Looking into where the presets and standard settings are saved according to this http://hints.macworld.com/article.php?story=20100125135830153. It seems that chrome doesn't use these settings.
Using the CUPS UI to change the standard preset, but it seems chrome doesn't use these settings either.
Using the disable-print-preview flag, but then the system dialog appears and I lose kiosk printing.

I couldn't find a built in solution, ended up using an applescript to click the print button of the dialog.
Details here How to use applescript to hit enter on system printing dialog box?

Related

Why when using Mac text-to-speech in developer firefox for canary chrome highlighting works but not in stable version?

If I want mac to read the content I type in this textbox, I highlight the text, and hit a shortcut.
If I do this on Mac's note app, I see each word highlighted as Mac reads the text. If I do this on Chrome Canary or on Firefox Developer edition the content highlighting feature works
Note how the word "read" on this screenshot is highlighted
On the default Firefox (or Chrome) browser, Mac reads the content but it doesn't highlight each word as it reads along. The text remains highlighted, I figure there might be a setting blocking mac from manipulating the text box in firefox
Is there some setting I can change in about:config to enable this feature
(I want to fix it in firefox I just tested in Chrome just to see if it worked)

Crystal Reports Print issue in Firefox and Chrome

I have a crystal report,print Mode is set to ActiveX. When clicking on the Print button in crystal reports viewer using IE , the printer dialog appears properly. When using Firefox or Chrome it asking me to print to pdf. Is there any way to open the printer dialog with firefox and chrome?
Chrome removed the ability to disable print preview, but on Windows you can still disable it if you modify the application shortcut:
add --disable-print-preview to the end of the "Destination", so it read something like:
"C:\Users\MyUser\AppData\Local\Google\Chrome\Application\chrome.exe"
-- disable-print-preview
This will make CTRL+P default to the regular OS-specific print dialog. Ctrl+shift+P also works, for those who can remember the hotkey every time.

Text editor keyboard shortcut that will refresh iOS Simulator's Safari browser?

In text editors like TextMate, pressing
COMMAND + R
will save the html document, switch to a browser like Chrome, and refresh the page.
So the question is, how does one use this keyboard shortcut to refresh the Safari browser within the iOS Simulator?
Is there another editor or program that's more interactive when developing for Safari on iOS?
Thanks for your help.
There's no shortcut within the simulator but if you set up Safari's enable Safari's developer tools (on your desktop) you can use that to debug the simulator. If you have dev tools open, the CMD + R shortcut will refresh the simulator.
Safari > Developer Tools > iPhone Simulator > name of your app
Then CMD + R will make it a lot easier for you!
there is no way to do this by default, but if you're comfortable with working in the shell (e.g. Terminal.app) you could look into something like this command line tool:
https://github.com/fingertips/ios-sim
not sure if you can launch built in apps like safari, tho.
one thing that may be of use is that in desktop safari, if you enable the Develop menu you can set your user agent to be iphone/ipod touch/ipad. i'm not sure how accurate this is, but it might be faster for iterating. (if you don't see the Develop menu in desktop safari, go to preferences, select Advanced and make sure the "Show Develop menu in menu bar" checkbox is checked)

firefox kiosk mode : just 3 buttons needed

I've done the researched but I haven't found anything suitable.
I need firefox to start in so called kiosk mode that would result in :
fullscreen
no tabs
no right click
back home forward buttons
There are plugins like r-kiosk - can I configure them to display only 3 buttons that I need?
thanks
I've written a Firefox extension that does just this called Webconverger:
http://webconverger.org/kiosk/
http://en.wikipedia.org/wiki/Webconverger itself is a complete browser operating system with this "kiosk mode" extension loaded by default.
Use mKiosk firefox plugin. It's a Public Firefox Kiosk Mode with optional Tabs Guides for Access Point. Complete solution. Block downloads/addon, bookmarks, reset kiosk inactivity, retry on errors, restricted interface, show favorites as buttons and more...

Open IE in kiosk mode BUT not maximized

Can we open IE in a kiosk mode - but not in a maximized view? We are trying to open an IE instance from a C#.NET app. This instance opens in a kiosk mode but disables the user to select 'OK' on the print preview pop up (as IE is maximized covering the whole screen). We want some way to open ONLY a specific page in IE (thus in kiosk mode) but not covering the full screen so that the user can choose the print options.
Alternatively is there a way to completely disable the print options and print silently using the default options?
Any ideas/suggestions?
It sounds like you're looking for the WebBrowser control, which allows you to embed IE inside your program.
I would take a look into Microsoft HTML Applications:
http://msdn.microsoft.com/en-us/library/ms536496%28VS.85%29.aspx
They are going to give a little more control over how the chrome of the application is displayed, and runs within the context of the currently logged in user.

Resources