Utility for printing direct to default printer via adobe reader.
I just posted this in the Forms forum, but felt it was appropriate to mention here, too. If you feel the need to comment, please do it in the Forms forum so all comments will be in one place. Thanks.
See it here:
http://forums.oracle.com/forums/thread.jspa?threadID=361763
Gary
No, Adobe stopped that happening many releases ago, for reasons that I don't understand but they will not change.
Similar Messages
-
10g report printing - directly to default printer
I basically want to know how you can set or retrieve the clients default printer and assign it to des_name on the forms side. Thanks.
for windows only try this using webutil : it will pick up users default printer
-- use client_win_api_environment to select printer into local variable
v_printer_name := CLIENT_WIN_API_ENVIRONMENT.Read_Registry
('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows', 'Device', true);
p_printer_name := (substr(v_printer_name, 1, instr(v_printer_name, ',' , 1)-1 ));
:control.printer_name := substr(p_printer_name, instr(p_printer_name, '\' , 3)+1); -
Print automatically on default printer without having to confirm
Hello,
I was wondering if there is a way that an application (for exemple excel of Adobe reader) print without showing the printer popup ? The idea is that when we press print, it does automatically print on the default printer without having to click on OK.
THanks in advance for your help.Hi Gontie,
Besides Matteo C said, the file created by Microsoft Office would print directly via default printer without any popup window.
What application did you using to print from.
If it's browser, this thread may be helpful to you:
http://stackoverflow.com/questions/1096862/print-directly-from-browser-without-print-popup-window
Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Karen Hu
TechNet Community Support -
Report Print Directly to Client Printer in Linux
Hi,
I m doing migration of Forms and Reports from 6i to 10g.
In this 6i form contain the Direct Report Print to Client Printer.
But in 10g, How to achive this,
I don't want to show the report in screen, i want directly report goes to Client Default Printer for Printing Purpose.
Can any one tel me if you have any solution.
Thanks
GanyThanks For you reply,
I already tried this, But I don't Know ,how to create Java Bean.
So Any Other Method is there.
If Any one know any other Solution for Print Directly to Client Printer.
Thanks,
Gany -
Hi Guys
Could anyone correct me how can I print directly to the printer from this program ,I am getting short dump error when I select the radio button printer and execute it.
Rgds
PEoops sorry here it is below
REPORT Z_ESLP_ZTCODE LINE-SIZE 132 .
*TABLES
TABLES : AGR_TCODES,
AGR_USERS,
TSTCT,
T16FW,
T16FD.
type-pools: slis. "ALV Declarations
CONSTANTS MARK VALUE 'X'.
TYPES: BEGIN OF T_DISP,
AGR_TCODES TYPE AGR_TCODES-TCODE , " Transaction code A
AGR_NAME TYPE AGR_TCODES-AGR_NAME, " Role Name B
AGR_UNAME TYPE AGR_USERS-UNAME, " Short User Name B
TTEXT TYPE TSTCT-TTEXT, " Description Name C
TEXTC TYPE USER_ADDR-NAME_TEXTC, " Long User Name
SPRSL TYPE TSTCT-SPRSL , " Language c
TEL_EXTENS TYPE USER_ADDR-TEL_EXTENS , " Extension
DEPARTMENT TYPE USER_ADDR-DEPARTMENT , " Department Name B
FRGGR TYPE T16FW-FRGGR,
FRGCO TYPE T16FD-FRGCO,
OBJID TYPE T16FW-OBJID,
FRGCT TYPE T16FD-FRGCT,
SPRAS TYPE T16FD-SPRAS,
END OF t_disp.
DATA: it_disp TYPE STANDARD TABLE OF t_disp INITIAL SIZE 0,
wa_disp TYPE t_disp.
DATA: params like pri_params,
days(1) type n value 2,
count(3) type n value 1,
valid type c.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
parameter: p_trigr type c default space.
SELECTION PARAMETER CRITERIA
SELECTION-SCREEN BEGIN OF BLOCK BLK WITH FRAME.
SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS:
P_TCODE FOR AGR_TCODES-TCODE , "OBLIGATORY, "no-extension no intervals,
U_NAME FOR AGR_USERS-UNAME,
R_NAME FOR AGR_USERS-AGR_NAME .
SELECTION-SCREEN END OF BLOCK BLK1.
SELECTION-SCREEN BEGIN OF BLOCK BLK2 WITH FRAME TITLE TEXT-002.
SELECTION-SCREEN END OF BLOCK BLK2.
SELECTION-SCREEN END OF BLOCK BLK.
SELECTION-SCREEN BEGIN OF BLOCK radio WITH FRAME.
PARAMETERS :
scr RADIOBUTTON GROUP rbg1 ,
Pr RADIOBUTTON GROUP rbg1 .
SELECTION-SCREEN END OF BLOCK radio.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
fieldcatalog-fieldname = 'AGR_UNAME'.
fieldcatalog-seltext_m = 'User'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'TEXTC'.
fieldcatalog-seltext_m = 'Name'.
fieldcatalog-outputlen = 60.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AGR_NAME'.
fieldcatalog-seltext_m = 'Role Name'.
fieldcatalog-outputlen = 15.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AGR_TCODES'.
fieldcatalog-seltext_m = 'Trans Code'.
fieldcatalog-col_pos = 3.
fieldcatalog-outputlen = 20.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'TTEXT'.
fieldcatalog-seltext_m = 'Description'.
fieldcatalog-outputlen = 70.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT PRINTER SETUP
PRINTER SETUP
form printer_setup.
DATA:L_PARAMS TYPE PRI_PARAMS,
L_VALID TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
IMMEDIATELY = ' '
LINE_SIZE = 220
RELEASE = 'X'
MODE = 'CURRENT'
NO_DIALOG = ' '
IMPORTING
OUT_ARCHIVE_PARAMETERS =
OUT_PARAMETERS = L_PARAMS
VALID = L_VALID
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4.
IF SY-SUBRC eq 0.
ENDIF.
"But it will take default printer from user settings
NEW-PAGE PRINT ON PARAMETERS L_PARAMS NO DIALOG.
write : 'print is on'.
NEW-PAGE PRINT OFF.
DATA: PARAMS LIKE PRI_PARAMS,
ARPARAMS LIKE ARC_PARAMS,
DAYS(1) TYPE N VALUE 2,
COUNT(3) TYPE N VALUE 1,
VALID TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING DESTINATION = 'LOCL'
COPIES = COUNT
LIST_NAME = 'Z_ESLP_ZTCODE'
LIST_TEXT = 'SUBMIT ... TO SAP-SPOOL'
IMMEDIATELY = 'X'
RELEASE = 'X'
NEW_LIST_ID = 'X'
EXPIRATION = DAYS
LINE_SIZE = 79
LINE_COUNT = 120
LAYOUT = 'X_44_120'
SAP_COVER_PAGE = 'X'
COVER_PAGE = 'X'
RECEIVER = 'SAP*'
DEPARTMENT = 'System'
SAP_OBJECT = 'RS'
AR_OBJECT = 'TEST'
ARCHIVE_ID = 'XX'
ARCHIVE_INFO = 'III'
ARCHIVE_TEXT = 'Description'
NO_DIALOG = ' '
IMPORTING OUT_PARAMETERS = PARAMS
OUT_ARCHIVE_PARAMETERS = ARPARAMS
VALID = VALID.
IF VALID <> SPACE.
SUBMIT RSTEST00 TO SAP-SPOOL
SPOOL PARAMETERS PARAMS
ARCHIVE PARAMETERS ARPARAMS
WITHOUT SPOOL DYNPRO.
ENDIF.
endform. " BUILD_LAYOUT
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
is_variant = z_template
tables
t_outtab = it_disp
exceptions
program_error = 1
others = 2.
if sy-subrc EQ 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form lfa1 table and populate itab it_lfa1
form data_retrieval.
CASE MARK.
WHEN scr.
SELECT AGR_TCODESTCODE AGR_TCODESAGR_NAME AGR_USERSUNAME TSTCTTTEXT USER_ADDR~NAME_TEXTC
INTO TABLE IT_DISP
FROM AGR_TCODES
INNER JOIN AGR_USERS
ON AGR_TCODESAGR_NAME = AGR_USERSAGR_NAME
INNER JOIN USER_ADDR
ON AGR_USERSUNAME = USER_ADDRBNAME
INNER JOIN TSTCT
ON AGR_TCODESTCODE = TSTCTTCODE
where
agr_tcodes~tcode in p_tcode
and
agr_users~uname in u_name
and
agr_tcodes~agr_name in r_name
and
TSTCT~SPRSL EQ 'E'.
WHEN pr.
perform printer_setup.
ENDCASE.
*lifnr
*between '0000100001' AND '0000150000'.
endform. " DATA_RETRIEVAL
Release memory no longer required.
free: it_lfa1 .
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'Transaction codes by User and Role Name ' .
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table it_disp lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Transaction Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform.
FORM USER_COMMAND *
--> R_UCOMM *
--> RS_SELFIELD *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'TCODES'.
Read data table, using index of row user clicked on
READ TABLE it_disp INTO wa_disp INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_disp-tcode.
Sxecute transaction zven, and skip initial data entry screen
CALL TRANSACTION 'Z' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*& Form BUILD_EVENTS
Build events table
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[].
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " BUILD_EVENTS
*& Form BUILD_PRINT_PARAMS
Setup print parameters
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
*& Form END_OF_PAGE
form END_OF_PAGE.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
endform. -
Presets not taking affect when printing via adobe reader
I have discovered that after upgrading to Mavericks, when printing multiple page documents via Adobe Reader, it will not take on my 1-sided printing preset and instead prints 2-sided as per the default setting on the printer driver.
Has anyone come across this?kirstyfiona wrote:
I dont seem to have the option for printing on both sides on the adobe print screen. In the past it would just use whatever preset you currently had set.
I seldom use Adobe Reader except for completing forms and printing them. Preview never seems to get those right. I did do some testing on my Mavericks machine and can confirm that Adobe Reader is ignoring a Preset I created for my EPSON WorkForce 1100. From the CUPS debugging log it would appear that Adobe Reader is bypassing the Apple print window. It would not therefore be picking up a Preset.
Wht make and model of printer are you using? If your prnter uses a PDE to set duplexing, I can imagine that Adobe Reader is not going that deep. It would look at the PPD and just use whatever is in there. If you let me know the printer make and model, I may be able to confirm that. I am not sure that will get you any closer to a sulution. It may help answer "why". -
Print directly to the printer option in the Windows registry
I need to find the location for the option to "Print directly to the printer" in the Windows registry. I am trying to create a GPO to enable this option at login and I can't find the location for it. Is this possible to do? If not, is there another way to enable this at startup for all users? We are running Adobe Acrobat X on Windows 7 Enterprise 32-bit.
ThanksI guess that those of use responding don't know enough about the process you are trying to implement to be of help. Printing to network drives has been an issue for folks for a long time and a lot seems to depend on the network. That is probably of zero help and all I can suggest is just to hang on for someone who hopefully has an idea. If we can get a better handle on what you are trying to do, we might be able to make suggestions. However, I think our answers are not going to be there for the registry issue.
-
Server created print ques printing directly to the printer
I'm trying to enforce quotas as well as push out a global set of printers (i.e. not setup locally) I can do this no problem, but my managed macs always print directly to the printer, not via my server.
I'm installing the printers locally on my server (printing directly to the I.P of the printer, then the corresponding ques appear automatically in the print service under server admin. I assumed that print jobs would be automatically parsed via the print service ques, and thus be able to enforce quotas.I'm attempting to setup the very same thing. I haven't gotten to try pushing the print ques to the managed clients via wgm yet, as I can't even seem to get the quota system working at all.
I can get the que setup on the server, then add the printer to the client. When i pause the que on the server, the client print jobs are being held correctly, but there is no evidence that the quota system is even starting up or functioning correctly.
I can find alot of people complaining about the quota system being broken in 10.3 and 10.4, but I can't find anyone talking about 10.5's printer quota system at all. -
PDF + Print directly to the printer
I need to have the print directly to the printer option enabled for a legacy app to print properly. However
with this option on PDF's will not print. Even when enabling the print as image option, it still fails. Does anyone have a solution?
*after testing, acrobat reader X seems to fix the issue. But i still don't know whats wrong. Does anyone know where i can find a changelog of the new version?Please check that when you print to PDF, the Save as dialog might goes in background. Watch for blinking icon in the taskbar at the bottom. Click the icon and give output PDF name.
If this is the case then this is known problem at MS end. See http://support.microsoft.com/kb/2567869
This problem comes when printing from 32bit apps on 64bit OS. -
When using "Print Report" my default printer changes.
Hello,
I have the need to print two different kinds of reports to two different printers depending on which report it is. I use the Office toolkit and wire the correct printer for the report using the "Print Report" tool. However, each time I do this, it changes the default printer in Windows to the printer wired. I don't want to change the default printer just send the report to the specified printer. Is there a work around?
LV 8.0 through 2013, Win 7
CLAHi The Q,
a workaround could be to read first which the default printer is, then print your page with the printer you want and then reset the stored printer to default. The information which printer is the default printer can be read from the registry.
Hope this helps.
Mike -
Print directly to the printer from Oracle 9I
Please it is possible to print directly to the printer from Oracle 9i without having to show the report on the web.
Please it is possible to print directly to the printer from Oracle 9i without having to show the report on the web.
-
Can' t print a pdf/a file in adobe reader for mac
Can' t print a pdf/a file in adobe reader for mac
You should try looking at this document: http://helpx.adobe.com/acrobat/kb/printing-tips-acrobat-reader.html
-
Printing multiple pages per sheet on Adobe Reader for Windows 8
I cannot print multiple pages per sheet on Adobe Reader touch for windows 8.1
What is your Reader version? In Reader XI 11.0.07 you would click on Multiple, then specify 4 (or 2) pages per sheet:
-
Firefox never suggests printing with my default printer
I'm using Windows 7. I've set my HP OfficeJet Pro printer as my default printer in Windows. However when attempting to printing a document from within Firefox, Firefox always suggests my PDF printer.
It's not difficult to select the correct printer, but I'm wondering why Firefox doesn't behave the way my other programs (Office, etc.) do when printing.Never seen that before - posting code that shows this behaviour would be handy.
My guess would be that you have an errant VI.Print.Panel to Printer method hanging around somewhere in your code.
CLD -
Can only print current page of a downloaded pdf via adobe reader
I can only print current page of a downloaded pdf via adobe reader. Any ideas? I'd like to be able to print "All".
You can use printPages(1, 5), however I need to know how you print current page.
Maybe you are looking for
-
Fonts are loaded in TypeKit but they won't sync to my Adobe software
Hi, Everytime I re-open any of my CC packaged such as Indesign, Illustrator the fonts I have loade din my Typekit refuse to sync and are always shown as missing. Typekit is on and it shows the fints on there as synced. Each day I have to remove the f
-
i already removed i tunes and all related from my computer and re-install but this message just can't let go off... Problem signature: Problem Event Name: APPCRASH Application Name: AppleMobileDeviceHelper.exe Application Vers
-
Bonjour à tous Je souhaite pouvoir interfacer un capteur avec un support de type SC-2345. Je dois donc choisir parmi les modules proposé à cette page: http://www.ni.com/pdf/products/us/4daqsc253-265_194-196.pdf Je ne suis pas vraiment sur de moi, c'e
-
"Disk is too slow/system overload"??? Help!
Hey I'm running Logic Express on a G4 with OS X 10.4.10. My processor is 450 MHz, and my memory is 896 MB SDRAM. When playing back around 6-7 tracks, i get a message saying: "CoreAudio - Disk is too slow or System Overload (-10010)" or "CoreAudio - S
-
Can any one convert my SQL for Discoverer?
This is a SQL you can run on the server but I was wondering if someone could convert the SQL for Discoverer? SQL: SELECT po.profile_option_name "NAME", po.USER_PROFILE_OPTION_NAME, decode(to_char(pov.level_id), '10001', 'SITE', '10002', 'APP', '10003