Sponsored Content
Full Discussion: Installing Printer driver
Top Forums Shell Programming and Scripting Installing Printer driver Post 302932463 by jtsmith90 on Wednesday 21st of January 2015 04:14:03 PM
Old 01-21-2015
I ran the following command:

Code:
root@Skynet:/home/josh/Downloads/cnijfilter-mg7100series-4.00-1-rpm# bash -x ./install.sh

This was the output




Code:
root@Skynet:/home/josh/Downloads/cnijfilter-mg7100series-4.00-1-rpm# alias c='clear'
root@Skynet:/home/josh/Downloads/cnijfilter-mg7100series-4.00-1-rpm# c

root@Skynet:/home/josh/Downloads/cnijfilter-mg7100series-4.00-1-rpm# ./install.sh 
==================================================

Canon Inkjet Printer Driver
Version 4.00
Copyright CANON INC. 2001-2013
All Rights Reserved.

==================================================
An error occurred. A necessary package could not be found in the proper location.
root@Skynet:/home/josh/Downloads/cnijfilter-mg7100series-4.00-1-rpm# bash -x ./install.sh 
+ C_version=4.00-1
+ C_copyright_end=2013
+ C_default_system=rpm
+ L_INST_COM_01_01='Command executed = %s\n'
+ L_INST_COM_01_02='An error occurred. The package management system cannot be identified.\n'
+ L_INST_COM_01_03='An error occurred. A necessary package could not be found in the proper location.\n'
+ L_INST_COM_01_04='Installation has been completed.\n'
+ L_INST_COM_01_05='An error occurred. Your environment cannot be identified as 32-bit or 64-bit.\nTry to install again by using the following command.\n'
+ L_INST_COM_01_06='An error occurred. The specified environment differs from your environment.\nTry to install again by using the following command.\n'
+ L_INST_COM_02_01='Usage: %s\n'
+ L_INST_COM_02_02='Uninstallation has been completed.\n'
+ L_INST_COM_03_01='[Package]\n'
+ L_INST_PRN_00_01='Canon Inkjet Printer Driver'
+ L_INST_PRN_00_02='Version %s'
+ L_INST_PRN_00_03='Copyright CANON INC. %s-%s'
+ L_INST_PRN_00_04='All Rights Reserved.'
+ L_INST_PRN_01_01='Register Printer\n'
+ L_INST_PRN_01_02='Next, register the printer to the computer.\n'
+ L_INST_PRN_01_03='Connect the printer, and then turn on the power.\nTo use the printer on the network, connect the printer to the network.\nWhen the printer is ready, press the Enter key.\n'
+ L_INST_PRN_01_04='Connection Method\n'
+ L_INST_PRN_01_05='USB\n'
+ L_INST_PRN_01_06='Network\n'
+ L_INST_PRN_01_07='Select the connection method.%s'
+ L_INST_PRN_01_08='Searching for printers...\n'
+ L_INST_PRN_01_09='Select Printer\n'
+ L_INST_PRN_01_10='Select the printer.\nIf the printer you want to use is not listed, select Update [0] to search again.\nTo cancel the process, enter [Q].\n'
+ L_INST_PRN_01_11=Update
+ L_INST_PRN_01_12='Target printers detected (MAC address  IP address)\n'
+ L_INST_PRN_01_13='Other printers detected (MAC address  IP address)\n'
+ L_INST_PRN_01_14='Target printers detected\n'
+ L_INST_PRN_01_15='Other printers detected\n'
+ L_INST_PRN_01_16='Currently selected:%s %s\n'
+ L_INST_PRN_01_17='Enter the value.'
+ L_INST_PRN_01_18='Could not detect the target printer.\n'
+ L_INST_PRN_01_19='Register Printer\n'
+ L_INST_PRN_01_20='Enter the printer name.%s'
+ L_INST_PRN_01_21='The printer name you entered already exists. Do you want to overwrite it?\nEnter [y] for Yes or [n] for No.%s'
+ L_INST_PRN_01_22='The printer name is invalid.\nYou can only use the following characters for the printer name:\n alphanumeric characters (a-z, A-Z, 0-9), ".", "-", "_", "+", "@"\n'
+ L_INST_PRN_01_23='Set as Default Printer\n'
+ L_INST_PRN_01_24='Do you want to set this printer as the default printer?\nEnter [y] for Yes or [n] for No.%s'
+ L_INST_PRN_01_25='Printer Name : %s\n'
+ L_INST_PRN_01_26='Select this printer name for printing.\n'
+ L_INST_PRN_01_27='The printer registration has not been completed.\nRegister the printer manually by using the lpadmin command.\n'
+ L_INST_PRN_02_01='Uninstall Printer\n'
+ L_INST_PRN_02_02='All printer registration for this model will be deleted.\n'
+ L_INST_PRN_02_03='Do you want to continue?\nEnter [y] for Yes or [n] for No.%s'
+ L_INST_PRN_02_04='Failed to delete [%s].\nAfter the uninstall process is finished, delete this printer manually by using the lpadmin command.\n'
+ L_INST_PRN_02_05='Failed to delete printers.\nAfter the uninstall process is finished, delete these printers manually by using the lpadmin command.\n'
+ C_main_module=cnijfilter
+ C_copyright_start=2001
+ C_function01=P_FUNC_MAIN_make_queue
+ C_function02=P_FUNC_MAIN_delete_all_queue
+ C_function03=P_FUNC_show_copyright
+ P_entry_list_path=
+ P_entry_list_path_rpm=/usr/local/share/
+ P_entry_list_path_deb=/usr/share/
+ P_entry_list_dir=cnijfilter/
+ P_entry_list_name=cnij_entry
+ P_cupsd_command_1=/etc/init.d/cups
+ P_cupsd_command_2=/etc/init.d/cupsys
+ P_cupsd_command_current=
+ P_lpadmin_command_full=/usr/sbin/lpadmin
+ P_lpadmin_command_current=
+ P_is_std_usb_backend=0
+ C_ERR_CODE=128
+ C_big=50
+ C_equal=40
+ C_small=30
+ C_common=common
+ C_system=
+ C_arch=
+ C_arch32=
+ C_arch64=
+ C_err=no_error
+ C_err_unknown=err_unknown
+ C_err_mismatch=err_mismatch
+ C_err_usage=err_usage
+ C_install_script_fname=install.sh
+ C_config_path_rpm=/usr/local/bin
+ C_config_path_deb=/usr/bin
+ C_copyrightb===================================================
+ C_arg_inst='[ --bit32 | --bit64 ]'
+ C_arg_pkg='[ --uninstall | --version ]'
+ '[' install.sh = install.sh ']'
+ C_argment=
+++ dirname ./install.sh
++ echo .
+ C_local_path_inst=./resources
+ C_FUNC_localize ./resources
+ local lc_file_dir=./resources
++ echo en_AU.UTF-8
++ tr '[:upper:]' '[:lower:]'
+ local current_lang=en_au.utf-8
+ local driver=
+ '[' cnijfilter = cnijfilter ']'
+ driver=printer
+ local lc_file=nolocalize
+ case "${current_lang##*.}" in
+ case "${current_lang%%.*}" in
+ '[' nolocalize '!=' nolocalize ']'
+ return 0
+ C_FUNC_get_system
+ local c_system_rpm=
+ local c_system_deb=
+ rpm --version
+ c_system_rpm=127
+ dpkg --version
+ c_system_deb=0
+ '[' 127 '!=' 0 -a 0 '!=' 0 ']'
+ '[' 127 = 0 -a 0 = 0 ']'
+ test 127 -eq 0
+ C_system=deb
+ '[' deb = rpm ']'
+ C_arch32=i386
+ C_arch64=amd64
+ return 0
+ '[' 0 -eq 0 ']'
+ '[' deb = rpm ']'
+ sudo echo
+ '[' 0 -ne 0 ']'
+ echo ==================================================
==================================================
+ echo

+ P_FUNC_show_copyright 4.00
+ printf 'Canon Inkjet Printer Driver\n'
Canon Inkjet Printer Driver
+ printf 'Version %s\n' 4.00
Version 4.00
+ printf 'Copyright CANON INC. %s-%s\n' 2001 2013
Copyright CANON INC. 2001-2013
+ printf 'All Rights Reserved.\n'
All Rights Reserved.
+ echo

+ echo ==================================================
==================================================
+ '[' 0 -eq 1 ']'
+ '[' 0 -ne 0 ']'
+ '[' no_error = err_usage ']'
+ C_FUNC_get_system
+ local c_system_rpm=
+ local c_system_deb=
+ rpm --version
+ c_system_rpm=127
+ dpkg --version
+ c_system_deb=0
+ '[' 127 '!=' 0 -a 0 '!=' 0 ']'
+ '[' 127 = 0 -a 0 = 0 ']'
+ test 127 -eq 0
+ C_system=deb
+ '[' deb = rpm ']'
+ C_arch32=i386
+ C_arch64=amd64
+ return 0
+ '[' 0 -ne 0 ']'
+ C_FUNC_get_bitconf
+ local c_bit_conf=
+ local c_sudo_command=
+ local c_arg1=
+ '[' deb = deb ']'
+ c_sudo_command='sudo '
+ getconf LONG_BIT
+ '[' 0 -eq 0 ']'
++ getconf LONG_BIT
+ c_bit_conf=64
+ '[' -z ']'
+ '[' -z 64 ']'
+ '[' 64 = 32 ']'
+ '[' 64 = 64 ']'
+ C_arch=amd64
+ '[' no_error = err_mismatch ']'
+ '[' no_error = err_unknown ']'
+ return 0
+ '[' 0 -ne 0 ']'
+++ dirname ./install.sh
++ echo .
+ C_pkg_path=./packages
+ '[' '!' -d ./packages ']'
+ C_file_cnt=0
+ C_files='./packages/*amd64*'
+ for filename in '$C_files'
+ '[' './packages/*amd64*' '!=' ./packages ']'
++ expr 0 + 1
+ C_file_cnt=1
++ echo '*amd64*'
+ C_onlyfname='*amd64*'
++ echo '*amd64*'
++ echo '*amd64*'
+ '[' '*amd64*' '!=' deb -o '*amd64*' '!=' cnijfilter ']'
+ printf 'An error occurred. A necessary package could not be found in the proper location.\n'
An error occurred. A necessary package could not be found in the proper location.
+ exit
root@Skynet:/home/josh/Downloads/cnijfilter-mg7100series-4.00-1-rpm#

 

8 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

TRUE Unix-64 Printer Driver for HP-6L laserjet.

Can anyone suggest me from where to download the printer driver for HP 6L laserjet printer for servers/desktops having TRUE Unix-64 and Unixware 7.0 OS. (1 Reply)
Discussion started by: parbende
1 Replies

2. UNIX Desktop Questions & Answers

Help Printer Driver

I am running a specialised program using a HP paintjet XL printer. This printer is very old and ink cartriges are no longer available. I want to use a HP 1102 C printer and need a driver. Alternatively any A3 printer driver will do as long as the printer is still available. Thanks Louis (2 Replies)
Discussion started by: RAP
2 Replies

3. Linux

Printer driver for Canon PIXMA iP1000

Hi, I just installed the Fedora Core 3, and now my printer cannot work because the Fedora Core 3 cannot find a suitable printer driver for it. It did recognize the model of my printer but just can't get the right printer driver. I am new to Linux, really hope someone can help me fix this problem,... (4 Replies)
Discussion started by: GarbageKing
4 Replies

4. Solaris

Solaris 10 - printer driver challenge

Hi, I have a Solaris 9 box that is connected to an Intermec EasyCoder 3400e tag printer. We set up the printer in solaris 9 using Jet Direct Admin console to use dump blotter address and the whole thing works fine. We are now moving from the Solaris 9 box to Solaris 10 box and Jet Direct Admin... (2 Replies)
Discussion started by: mikies
2 Replies

5. Red Hat

Need a single printer driver added to CUPS

Just got an HP OfficeJet L7680 printer but there are no drivers for it in RHEL5. I just want to add the single driver without installing hplip 3.9.8. It's going to be connected with USB. Is this possible and if so how? (1 Reply)
Discussion started by: deloev
1 Replies

6. UNIX for Dummies Questions & Answers

Query for printer driver in CUPS

I have a RHEL 4 (probably not important, but whatever) machine with a few dozen network printers set up in CUPS. I would like to replicate this on a second machine. With lpinfo I'm able to get the queue name and device information (socket://ipaddress or whatnot), but I haven't get figured out... (0 Replies)
Discussion started by: kknigga
0 Replies

7. UNIX for Dummies Questions & Answers

virtual printer driver

I need a virtual open source printer that can print to a text file. I need this printer to be open source because i will have to include it with my distribution of a program i am building. Just for a little background information, i am going to be building a program to run inside of a... (5 Replies)
Discussion started by: bagstoper
5 Replies

8. Solaris

Need printer driver for HP CP4525 on Solaris 10 SPARC

Hi Solaris 10 & possibly other Windows Gurus, I am using hppi to setup IP based printers on Solaris 10 SPARC server but have always been having difficulty getting the exact driver for them. In this case it is for HP CP4525 series PCL6 so the only choice available was to choose the closest... (2 Replies)
Discussion started by: gjackson123
2 Replies
All times are GMT -4. The time now is 12:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy