How to change the printer name in the User profile in the run time.
Hi
I am in need to change the printer name in the run time.
Do any one hav idea about this?
Thanks
Karthik
The user default settings can be changed using funtion module SUSR_USER_DEFAULTS_PUT.
Import parameter USER_DEFAULTS-SPLD will hold the default printer name.
Similar Messages
-
To change the printer name while printing the invoice
Hi,
I have a requirement like if there is already an entry in NAST table with o/p type ZURD and printer name USJC-PM03,then an error message has to be displayed like 'This Output already printed in USJC-PM03,Change the printer name 'USJC-PM03' to 'LOCL' and then print' on the vf03 screen.
But even if I change the printer name from 'USJC-PM03' to 'LOCL',it is showing the same error message.This message should not be shown.
I have used the following code in the program.
lf_formname = tnapr-sform.
determine print data
PERFORM set_print_data_to_read USING lf_formname
CHANGING ls_print_data_to_read
cf_retcode.
IF cf_retcode = 0.
select print data
PERFORM get_data USING ls_print_data_to_read
CHANGING ls_addr_key
ls_dlv-land
ls_bil_invoice
cf_retcode.
ENDIF.
IF sy-tcode = C_VF03.
SELECT SINGLE * FROM tnapr WHERE kschl = 'ZURD'
AND nacha = 1
AND kappl = 'V3'.
SELECT count(*)
FROM NAST
INTO lv_count
WHERE objky = ls_bil_invoice-hd_gen-bil_number
AND kappl = c_v3
AND kschl = c_ZURD
AND ldest = c_PM03.
IF LV_COUNT GE 1.
Message e000(zup) with text-001 text-002 text-003.
ELSE.
determine smartform function module for invoice
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING formname = lf_formname
variant = ' '
direct_call = ' '
IMPORTING fm_name = lf_fm_name
EXCEPTIONS no_form = 1
no_function_module = 2
OTHERS = 3.
call smartform invoice
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_appl_obj =
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = space
is_bil_invoice = ls_bil_invoice
is_nast = nast
is_repeat = repeat
importing document_output_info =
*Uncomented the line to get the spool id or OTF formatted data -
*NY047532
IMPORTING
job_output_info = w_job
NY047532
job_output_options =
EXCEPTIONS formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
ENDIF.
ENDIF.
When should be done for the error message not to be shown when the printer name is 'LOCL'.Hi,
Here my requirement is first the user has to check the nast table if there is any entry with o/p type ZURD and printer 'USJC-PM03' .If there is an entry then an error message 'This Output already printed in USJC-PM03,Change the printer name 'USJC-PM03' to 'LOCL' and then print' has to be displayed.
Then if i close this popup window which is showing error message and change the printer name from 'USJC-PM03' to 'LOCL', and click on execute button,the printer name is not getting changed and still the error message is getting displayed.How to remove this error message? -
Hi,
I have a requirement to change the printer name when the user tries to send the invoice with the same o/p type second time also.How to change the printer name?We have a field in NAST table which tells us whether the copy is printed for the first time or more then once. Read the value basing on the output type (i.e., Message type in nast table)
Now in your driver program & modify the parameter OPTIONS that are passed to function module OPEN_FORM, goto Option and pass your printer name according to your requirement.
Ex: if <print> = 1.
<printer name> = 'XXX'.
if <print> GT 1.
<printer name> = 'YYY'
Close the thread once your question is answered.
Rgds,
SaiRam -
How to find out the printer name for the Idoc
Hi guys
I want to find out the printer name for the Idoc,,some default printer is attached for one idoc,then how can we see the printer name for this idoc.
Regards
MadhooHi,
For ALE/IDOC the medium will be either ALE or EDI but not printer.So it might be wrongly attached.As such there won't be any printer attached to idoc.
Regards,
Nagaraj -
Trouble saving a large 93 page script Final Draft to a PDF file on Desktop. I get notice "The printer name is invalid"
What to do?I don't think PDF Pack is connected to this in any way. It won't be part of the process.
Take a look at After installing 7.1.3 on XP 64, trying to Save As PDF will return an Error Initializing Printer and a Printer Name Not … -
I can not print a report from my quicken program because the printer name has the word on in it
I recently purchased and installed a HP Officejet Mobile L411 printer. For all apps. on my computer (Window&) the printer name is as follows: HP officiate Noble L411. On my Quicken program the printer name is as follows: HP Officejet Mobile L411 on USB001. In checking Quickens help/troubleshooting guide, Ifound thirst statement, make sure the printers name doesn"t contain the word "on". My question is how do I get my printers name in Quicken changed so it doesn't contain the word "on"
Try opening the PDF in Preview and see if it will print out of it.
-
Can't see printer name in the print dialog box as the printer name is too long
This is actually causing siginificant pain as I am using a tablet and moving around a number of floors/buildings needing to be able to print from where I am.
When printing from Acrobat reader, the print dialog box that comes up does not have a horizontal scroll bar and does not fit in the names of the printers in my organisation. We are unable to change the printer name, so it basically means that when using Acrobat, we can't select a printer.
All other windows applications show more characters and also have a horizontal scroll bar in the print dialog box so you can scroll across to see the rest of a long printer name. Why is acrobat not using the standard windows print dialog?
Has anyone come across this? Help!This is the Acrobat forum, not the Reader forum. In the future you should check there. I am not sure why you can not change the printer name, unless you do not have administrator rights. The name of the printer has nothing to do with where the print copy is sent. It is just for the purpose you mentioned of identifying the printer to print to. If you are not the administrator, ask your IT folks to change the name for you and explain why.
-
Reading the printer name from the registry
Hi,
I am trying to use the following program to get the Printer name from my Registry.. this program has been taken from Forums.
package yourpackage;
import java.awt.Graphics;
import java.awt.print.PageFormat;
import java.awt.print.Printable;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;
import oracle.forms.ui.VBean;
import oracle.forms.properties.ID;
public class printDialog extends VBean
private static final ID PRINTER = ID.registerProperty("PRINTER");
public printDialog()
class PrintObject implements Printable
public int print (Graphics g, PageFormat f, int pageIndex)
return NO_SUCH_PAGE;
public Object getProperty(ID id)
if (id == PRINTER) {
PrinterJob job = PrinterJob.getPrinterJob();
job.setPrintable(new PrintObject());
if (job.printDialog())
return job.getPrintService().getName();
} else {
return null;
} else {
return null;}
This program when compiled gives me the error as
Error(32,12): method getPrintService() not found in class java.awt.print.PrinterJob
I did set the project settings from Project-Project Settings and included Oracle Forms Libraries. But I still continue to get the error.
I understood from the web that I need to put PrintService class which downloaded from the web as part of jnlp.jar
How should I set this if this is the correct one?
Early response would be highly appreciated
Thanks a lot for your time and help
Narain.Narain,
I could swear I answered this on teh Jdeveloper forum ;-)
The prin service is part pf Java 1.4, which means that it is not available in JInitiator today. Use the Java Plugin 1.4 and the required classes are present. JNLP stands for Java Network Launching Protocoll and has nothing to do with what you want to achieve.
In addition, to read the printer names from Forms your jar file has to be signed.
Frank -
Error 0x00000709 operation could not be compleated Double check the printer name etc.
After installing my new printer and removing all other printers from my computer I now can not make the only printer listed as my default printer. I get this error 0X00000709 operation could not be completed Double check the printer name and make sure it is connected. I have done all that over and over again. I also I have reinstalled the old printer software and tried to default to my new printer at that time and still the same error. I have checked my register and it has the old printer listed but does not allow me to change it. I now have removed all but the new printer from my computer but I still can not make it my default printer. Programs such as Adobe only recognizes the default printer (which is not there any more) and don't even list the new printer as an option. The printer works just fine accept with the programs that uses the default printer. The Windows Hardware and Device Troubleshooting finds the problem (printer not set as default)but can not fix it.
I sure wish someone out there could help me get rid of the error and allow me to default my printer again. I have noticed other people have had this same issue with error 0X00000709 using other Windows versions as well. I have been trying to resolve this issue for the past three months and would appreciate any and all ideas.
I have an HP Pavilion elite HPE 337C computer running with Window 7 and I installed my new HP LaserJet PRO CM1415fnw color MFP printer. My old printer that I removed (but is still listed in my Regester) was an HP 6500 inkJet.After doing some research on the net:
This link provided an answer:
https://exploreb2b.com/articles/solving-error-0x00000709-cant-set-default-printer-problem
Regedit -> HKEY_CURRENT_USER -> Software->Microsoft->Windows NT->Current Version->Windows
One of the entries you should see in the right hand pane is“Device”. If the value for “Device” as noted under the “Data” area is anything other than the printer you are using, then highlight “Device” in the right hand pane with the mouse and press the delete key to remove it. (I edited it and put the name of the printer I wanted to be the default)
VI. Restart the computer so it starts with the altered Windows system registry. (Italics mine) -
How do you split the print job across multiple printers to shorten the prin
i
Can any one you provide some information on below questions.
Check printing by XML template (XML Publisher).
1. When printing checks, how do you print the checks from one printer tray and the overflow remittance pages from another printer tray?
2. When printing a large batch of checks using XML and PDF output, how do you split the print job across multiple printers to shorten the print time?
I appreciate if you could give some information on above 2 questions.
Regards,
Ramarao.Probably sould just do them individually.
How to get all the iWork apps, iPhoto, and iMovie for free on an eligible iPhone or iPad
http://www.imore.com/how-get-all-iwork-apps-iphoto-and-imovie-free-eligible-ipho ne-or-ipad
About Free Apple Apps for iOS 7 compatible devices
http://support.apple.com/kb/HT5913
Cheers, Tom -
How do i fix my wifi if it connects and the bars are blue but no check sign appears next to the wifi name and does not connect to the internet???
Did you already try to reset the iPod by holding the sleep and home button for about 10sec, until the Apple logo comes back again? You will not lose data.
If this does not work, try to reset the network settings in Settings/General/Reset. After that you'll have to put in the passwords for all known networks again.
More troubleshooting can be found here:
iOS: Troubleshooting Wi-Fi networks and connections -
What are the icons next to the printer name in the print sheet?
Ever since I upgraded to OS X Lion, I have noticed something different in the print dialogue. First the technical info: I am using a 2009 Mac Mini (4 GB RAM, OS 10.7.3) and I have a couple of printers that I use - one is a Brother laser printer (shared from an iMac, running 10.6.8) and a Canon Pixma Pro 9000, connected via USB to a Time Capsule.
When I hit Command-P to bring up the print sheet, I now get icons on the left hand side of some of the printer names in the printer list. One looks like a road sign - diamond shaped with a walking person in it, and the other is a circle with a wavy line (tilde?) in it. The other printer names have no icons next to them. I gather that the circle-and-tilde means "printer not available" (or something similar) - even though the printer is there!!! And then I wonder why the other printer names have no icons, and I have no clue what the "walking person" sign means.
I'm adding a couple of images so you all can see what I'm talking about:
What do these icons mean? I can find NO reference to them - even in Apple's knowledge base article http://support.apple.com/kb/HT4670 - this just looks like the screen shots from the 10.6 Snow Leopard page. I looked in the OS X Lion Missing Manual, but it has the same screen shots with no explanation of the icons.
This is pretty minor, but it's been bugging me for a while. Any explanation or reference to these icons would be appreciated!
Richard
Message was edited by: Richard Williams Jr (had to correct the link!)Richard Williams Jr wrote:
Wow, impressive, thank you! Is there a listing or other resource available that can tell me what all these symbols mean? Or are they the only ones?
This Mac 101: Printing article mentions some of the icons you will see in 10.6. And there is also the Mac 101: Printing article for Lion that shows some symbols. Neither show the icon you are seeing for the Brother but this is icon has been around for a while and used for warnings/information alerts. -
I'm in Final Draft (screenwriting prgram) and hit Save as PDF and a window opens stating that the printer name is invalid - what am I doing wrong?
Final Draft, Inc. - Search: printer name invalid
-
How to get the group name of a user
Hi,
I am using an openldap for user authentification. How can i retreive the groups name of a user ? I read that i must use the GroupManagerControl class.
What is the way to specify the openldap authenticator using the above class ?
Thanks for help.Re,
Here is a screenshot of this functions...
If you really own LV DSC 8.2 the best thing to do is to reinstall it.
Regards,
Message Edité par Richard K. le 04-02-2007 04:00 AM
Richard Keromen
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception
Attachments:
security.jpg 3841 KB -
Since I starting using my MacMini (2011 version) I have not been able to print double sided from my HP Photosmart plus - there is no option for this in the Printer dialog box as there was in the similar dialog box on my PC. How do I set up this option?
1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
Your first priority is to make more space on that HD. Nothing else can be done until you do.
Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
Your Library has been damaged from being run on an overfull disk.
How much free space on it now?
Maybe you are looking for
-
Hearing Aids try to pair with multiple Devices!
My wife just got a pair of Starkey Halo hearing aids, and we've had some problems getting them paired successfully, consistently, and keeping them paired. One key problem is our household has multiple iOS devices (iPhone 5, 6, 6+, iPad Air, iPod Touc
-
CC will not allow After Effects CS6 to Update
I am a frequent After Effects CS6 user; not so long ago I started a subsciption with Adobe Creative Cloud and I've had nothing but issues with it. The CC desktop would crash my whole system on launch, so I cancelled my subsciption and uninstalled any
-
ESYU: Datafix: Reservation 수량이 Salesorder 정보에 뜨지 않는 경우 Datafix
Purpose Oracle Purchasing Order - Version: 11.5.10 11.5.10 version위에서 DEMAND_SOURCE_HEADER_ID=0 상태의 records를 mtl_reservations table에 있으나 DEMAND_SOURCE_LINE_ID는 존재하는 record를 발견 할 수 있다. Sales order를 위해 mtl_reservations의 records는 적절한 DEMAND_SOURCE_HEADE
-
This has happened many times, with no apparent reason, i.e. when i tried to refresh a web page, or open a website, i got message to say that firefox was in offline mode (note, the internet had been working normal up to this minute), then i went to th
-
How do I split my hard drive on my macbook pro to add windows7 proffessional
Where do I find info on how to split/partition my hard drive on my macbook pro so I can add windows7 pro. ? my wife is taking an intro to computers course and needs to be able to access windows programs.